/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class PsTime {
    /**
     * ps_time.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * ps_time.user_id
     * 用户id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long userId;

    /**
     * ps_time.online_time
     * 上线时间
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date onlineTime;

    /**
     * ps_time.offline_time
     * 下线时间
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date offlineTime;

    /**
     * ps_time.type
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * ps_time.status
     * 用户状态2：上线，-2：下线
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * ps_time.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * ps_time.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * ps_time.attribute
     * 
     * VARCHAR(100)
     *
     * @mbggenerated
     */
    private String attribute;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public Long getUserId() {
        return userId;
    }

    /* @mbggenerated */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /* @mbggenerated */
    public Date getOnlineTime() {
        return onlineTime;
    }

    /* @mbggenerated */
    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    /* @mbggenerated */
    public Date getOfflineTime() {
        return offlineTime;
    }

    /* @mbggenerated */
    public void setOfflineTime(Date offlineTime) {
        this.offlineTime = offlineTime;
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }
}